//
//  KCHomePageImplement.swift
//  KCHomePageModule
//
//  Created by 范其乐 on 2018/11/2.
//  Copyright © 2018年 范其乐. All rights reserved.
//

import UIKit
import FMiddleLevel

public class KCHomePageImplement: NSObject, KCHomePageProtocol,FRouterProtocol {
  
    public func openAction(model:FRouterModel) {
        
        let jsonData = (model.json ?? "").stringToDic()
        let name = jsonData?["name"] as? String ?? ""
        if name == "goHome" {//偷懒了,应用的话最好转成model在使用
            print("goHome")
        }
    }
    
    public func goHomeVc() {
        print("goHome")
    }
}


